package com.jege.jpa.many2many.vo;


import com.jege.jpa.many2many.Resource;
import com.jege.jpa.many2many.enums.OpenState;

/**
 *
 * Created by ange on 2017/2/3.
 */
public class MenuVo {
    private int id;
    private String text;
    private OpenState status;
    private Short seq;
    private String icon;
    private Integer pid;
    private Resource resource;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public OpenState getStatus() {
        return status;
    }

    public void setStatus(OpenState status) {
        this.status = status;
    }

    public Short getSeq() {
        return seq;
    }

    public void setSeq(Short seq) {
        this.seq = seq;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Resource getResource() {
        return resource;
    }

    public void setResource(Resource resource) {
        this.resource = resource;
    }

    @Override
    public String toString() {
        return "MenuVo{" +
                "id=" + id +
                ", text='" + text + '\'' +
                ", status=" + status +
                ", seq=" + seq +
                ", icon='" + icon + '\'' +
                ", pid=" + pid +
                ", resource=" + resource +
                '}';
    }
}
